package com.lyc.service.Impl;

import com.lyc.dao.CityDao;
import com.lyc.pojo.City;
import com.lyc.service.CityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service("cityService")
public class CityServiceImpl implements CityService {
    @Autowired
    private CityDao cityDao;
    @Override
    public List<City> selectSS() {
        return cityDao.selectSS();
    }

    @Override
    public List<City> selectCS(int cid) {
        return cityDao.selectCS(cid);
    }

    @Override
    public List<City> selectQX(int cid) {
        return cityDao.selectQX(cid);
    }
}
